package rule19;

import java.util.Date;

/**
 * @author ChangLiang
 * @date 2020/3/17
 */
public class Super {

    public Super() {
        this.overrideMe();
    }

    public void overrideMe() {

    }
}

class Sub extends Super{
    private final Date date;

    Sub() {
        date = new Date();
    }

    @Override
    public void overrideMe() {
        System.out.println(date.getTime());
    }
}
